package com.xsd.vistor.shopDemo;

/**
 * @Description: 访问者  购物车
 * @Author: zhoufuzong
 * @Created: 2021-03-10 21:36:16
 * @Version: 1.1.0
 */

public abstract class ShoppingCartVistor {

    public abstract double visitBook(Book book);

    public abstract double visitFruit(Fruit fruit);

}
